<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="dist/slide.css">
    <script src="slide.js"></script>
</head>
<body>
    <main class="slide"></main>
    <script>
        new Slide({
            el:'.slide',
            width:300,
            height:600,
            limit:20,
            timeout:100,
            images:[
                {link:'https://www.mi.com',path:'images/5.jpg'},
                {link:'https://www.douban.com/',path:'images/6.jpg'},
                {link:'https://www.baidu.com/',path:'images/7.jpg'},
                {link:'https://www.jd.com',path:'images/8.jpg'}
            ]
        }).run()
    </script>
</body>
</html>